package com.ruoyi.zhmk.utils;

import com.ruoyi.faceApi.click.FaceApiClick;
import com.ruoyi.faceApi.click.impl.FaceApiDefaultClick;

/**
 * @Author: wwy
 * @Date: 2021/6/23 12:00
 */
public class FaceApiUtil {
    private static FaceApiClick faceApiClick;

    /**
     * 获取人脸机客户端
     * @return
     */
    public static FaceApiClick getFaceApiClick(){
        if(faceApiClick == null){
            faceApiClick = new FaceApiDefaultClick();
        }
        return faceApiClick;
    }
}
